package com.cognizant.ams.bean.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.cognizant.ams.bean.Lastatsegment;
import com.fasterxml.jackson.annotation.JsonFormat;
//import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author suyon
 * @date 2019-11-12 13:32
 */
//@Data
public class LastatsegmentExcelDTO extends Lastatsegment {
    @Excel(name = "机构编号" ,orderNum = "0")
    private String managecom;

    @Excel(name = "年份" ,orderNum = "1")
    private String yearmonth;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期" ,orderNum = "2",exportFormat = "yyyy-MM-dd HH:mm:ss")//importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startdate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期" ,orderNum = "3",exportFormat = "yyyy-MM-dd HH:mm:ss")//importFormat = "yyyy-MM-dd HH:mm:ss")
    private Date enddate;

    @Excel(name = "???" ,orderNum = "4")
    private String areatype;

    @Excel(name = "季度" ,orderNum = "5")
    private String stattype;

    public String getManagecom() {
        return managecom;
    }

    public void setManagecom(String managecom) {
        this.managecom = managecom;
    }

    public String getYearmonth() {
        return yearmonth;
    }

    public void setYearmonth(String yearmonth) {
        this.yearmonth = yearmonth;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public String getAreatype() {
        return areatype;
    }

    public void setAreatype(String areatype) {
        this.areatype = areatype;
    }

    public String getStattype() {
        return stattype;
    }

    public void setStattype(String stattype) {
        this.stattype = stattype;
    }
}
